﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class HatchGradientPattern
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class HatchGradientPattern
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="netDxf.Entities.HatchGradientPattern">
  
  
  <h1 id="netDxf_Entities_HatchGradientPattern" data-uid="netDxf.Entities.HatchGradientPattern" class="text-break">Class HatchGradientPattern
  </h1>
  <div class="markdown level0 summary"><p>Represents the hatch gradient pattern style.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><a class="xref" href="netDxf.Entities.HatchPattern.html">HatchPattern</a></div>
    <div class="level2"><span class="xref">HatchGradientPattern</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><span class="xref">System.ICloneable</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Solid">HatchPattern.Solid</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Line">HatchPattern.Line</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Net">HatchPattern.Net</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Dots">HatchPattern.Dots</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Name">HatchPattern.Name</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Description">HatchPattern.Description</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Style">HatchPattern.Style</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Type">HatchPattern.Type</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Fill">HatchPattern.Fill</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Origin">HatchPattern.Origin</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Angle">HatchPattern.Angle</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Scale">HatchPattern.Scale</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_LineDefinitions">HatchPattern.LineDefinitions</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_NamesFromFile_System_String_">HatchPattern.NamesFromFile(String)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Load_System_String_System_String_">HatchPattern.Load(String, String)</a>
    </div>
    <div>
      <a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Save_System_String_">HatchPattern.Save(String)</a>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="netDxf.Entities.html">netDxf.Entities</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="netDxf_Entities_HatchGradientPattern_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class HatchGradientPattern : HatchPattern, ICloneable</code></pre>
  </div>
  <h5 id="netDxf_Entities_HatchGradientPattern_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Gradient patterns are only supported by AutoCad2004 and higher DXF versions. It will default to a solid pattern if saved as AutoCad2000.</p>
</div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern__ctor.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L52">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern__ctor_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern__ctor" data-uid="netDxf.Entities.HatchGradientPattern.#ctor">HatchGradientPattern()</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>HatchGradientPattern</code> class as a default linear gradient.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public HatchGradientPattern()</code></pre>
  </div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern__ctor_netDxf_AciColor_netDxf_AciColor_netDxf_Entities_HatchGradientPatternType_.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.%23ctor(netDxf.AciColor%2CnetDxf.AciColor%2CnetDxf.Entities.HatchGradientPatternType)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L109">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern__ctor_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern__ctor_netDxf_AciColor_netDxf_AciColor_netDxf_Entities_HatchGradientPatternType_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor(netDxf.AciColor,netDxf.AciColor,netDxf.Entities.HatchGradientPatternType)">HatchGradientPattern(AciColor, AciColor, HatchGradientPatternType)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>HatchGradientPattern</code> class as a two color gradient.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public HatchGradientPattern(AciColor color1, AciColor color2, HatchGradientPatternType type)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.AciColor.html">AciColor</a></td>
        <td><span class="parametername">color1</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.AciColor.html">AciColor</a> 1.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.AciColor.html">AciColor</a></td>
        <td><span class="parametername">color2</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.AciColor.html">AciColor</a> 2.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a></td>
        <td><span class="parametername">type</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern__ctor_netDxf_AciColor_netDxf_AciColor_netDxf_Entities_HatchGradientPatternType_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.%23ctor(netDxf.AciColor%2CnetDxf.AciColor%2CnetDxf.Entities.HatchGradientPatternType%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L121">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern__ctor_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern__ctor_netDxf_AciColor_netDxf_AciColor_netDxf_Entities_HatchGradientPatternType_System_String_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor(netDxf.AciColor,netDxf.AciColor,netDxf.Entities.HatchGradientPatternType,System.String)">HatchGradientPattern(AciColor, AciColor, HatchGradientPatternType, String)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>HatchGradientPattern</code> class as a two color gradient.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public HatchGradientPattern(AciColor color1, AciColor color2, HatchGradientPatternType type, string description)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.AciColor.html">AciColor</a></td>
        <td><span class="parametername">color1</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.AciColor.html">AciColor</a> 1.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.AciColor.html">AciColor</a></td>
        <td><span class="parametername">color2</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.AciColor.html">AciColor</a> 2.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a></td>
        <td><span class="parametername">type</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">description</span></td>
        <td><p>Description of the pattern (optional, this information is not saved in the DXF file). By default it will use the supplied name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern__ctor_netDxf_AciColor_System_Double_netDxf_Entities_HatchGradientPatternType_.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.%23ctor(netDxf.AciColor%2CSystem.Double%2CnetDxf.Entities.HatchGradientPatternType)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L78">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern__ctor_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern__ctor_netDxf_AciColor_System_Double_netDxf_Entities_HatchGradientPatternType_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor(netDxf.AciColor,System.Double,netDxf.Entities.HatchGradientPatternType)">HatchGradientPattern(AciColor, Double, HatchGradientPatternType)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>HatchGradientPattern</code> class as a single color gradient.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public HatchGradientPattern(AciColor color, double tint, HatchGradientPatternType type)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.AciColor.html">AciColor</a></td>
        <td><span class="parametername">color</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.AciColor.html">AciColor</a>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">tint</span></td>
        <td><p>Gradient tint.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a></td>
        <td><span class="parametername">type</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern__ctor_netDxf_AciColor_System_Double_netDxf_Entities_HatchGradientPatternType_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.%23ctor(netDxf.AciColor%2CSystem.Double%2CnetDxf.Entities.HatchGradientPatternType%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L90">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern__ctor_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern__ctor_netDxf_AciColor_System_Double_netDxf_Entities_HatchGradientPatternType_System_String_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor(netDxf.AciColor,System.Double,netDxf.Entities.HatchGradientPatternType,System.String)">HatchGradientPattern(AciColor, Double, HatchGradientPatternType, String)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>HatchGradientPattern</code> class as a single color gradient.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public HatchGradientPattern(AciColor color, double tint, HatchGradientPatternType type, string description)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.AciColor.html">AciColor</a></td>
        <td><span class="parametername">color</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.AciColor.html">AciColor</a>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">tint</span></td>
        <td><p>Gradient tint.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a></td>
        <td><span class="parametername">type</span></td>
        <td><p>Gradient <a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">description</span></td>
        <td><p>Description of the pattern (optional, this information is not saved in the DXF file). By default it will use the supplied name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern__ctor_System_String_.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.%23ctor(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L61">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern__ctor_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern__ctor_System_String_" data-uid="netDxf.Entities.HatchGradientPattern.#ctor(System.String)">HatchGradientPattern(String)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>HatchGradientPattern</code> class as a default linear gradient.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public HatchGradientPattern(string description)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">description</span></td>
        <td><p>Description of the pattern (optional, this information is not saved in the DXF file). By default it will use the supplied name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern_Centered.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.Centered%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L217">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern_Centered_" data-uid="netDxf.Entities.HatchGradientPattern.Centered*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern_Centered" data-uid="netDxf.Entities.HatchGradientPattern.Centered">Centered</h4>
  <div class="markdown level1 summary"><p>Gets or sets if the pattern is centered or not.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Centered { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Entities_HatchGradientPattern_Centered_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Each gradient has two definitions, shifted and unsifted. A shift value describes the blend of the two definitions that should be used.
A value of 0.0 (false) means only the unsifted version should be used, and a value of 1.0 (true) means that only the shifted version should be used.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern_Color1.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.Color1%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L152">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern_Color1_" data-uid="netDxf.Entities.HatchGradientPattern.Color1*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern_Color1" data-uid="netDxf.Entities.HatchGradientPattern.Color1">Color1</h4>
  <div class="markdown level1 summary"><p>Gets or sets the gradient <a class="xref" href="netDxf.AciColor.html">AciColor</a> 1.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public AciColor Color1 { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.AciColor.html">AciColor</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern_Color2.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.Color2%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L169">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern_Color2_" data-uid="netDxf.Entities.HatchGradientPattern.Color2*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern_Color2" data-uid="netDxf.Entities.HatchGradientPattern.Color2">Color2</h4>
  <div class="markdown level1 summary"><p>Gets or sets the gradient <a class="xref" href="netDxf.AciColor.html">AciColor</a> 2.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public AciColor Color2 { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.AciColor.html">AciColor</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Entities_HatchGradientPattern_Color2_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>If color 2 is defined, automatically the single color property will be set to false.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern_GradientType.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.GradientType%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L143">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern_GradientType_" data-uid="netDxf.Entities.HatchGradientPattern.GradientType*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern_GradientType" data-uid="netDxf.Entities.HatchGradientPattern.GradientType">GradientType</h4>
  <div class="markdown level1 summary"><p>Gets or set the gradient pattern <a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public HatchGradientPatternType GradientType { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.HatchGradientPatternType.html">HatchGradientPatternType</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern_SingleColor.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.SingleColor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L184">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern_SingleColor_" data-uid="netDxf.Entities.HatchGradientPattern.SingleColor*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern_SingleColor" data-uid="netDxf.Entities.HatchGradientPattern.SingleColor">SingleColor</h4>
  <div class="markdown level1 summary"><p>Gets or sets the gradient pattern color type.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool SingleColor { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern_Tint.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.Tint%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L199">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern_Tint_" data-uid="netDxf.Entities.HatchGradientPattern.Tint*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern_Tint" data-uid="netDxf.Entities.HatchGradientPattern.Tint">Tint</h4>
  <div class="markdown level1 summary"><p>Gets or sets the gradient pattern tint.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double Tint { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="netDxf_Entities_HatchGradientPattern_Tint_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>It only applies to single color gradient patterns.</p>
</div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern_Clone.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern.Clone%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L238">View Source</a>
  </span>
  <a id="netDxf_Entities_HatchGradientPattern_Clone_" data-uid="netDxf.Entities.HatchGradientPattern.Clone*"></a>
  <h4 id="netDxf_Entities_HatchGradientPattern_Clone" data-uid="netDxf.Entities.HatchGradientPattern.Clone">Clone()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override object Clone()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Object</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="netDxf.Entities.HatchPattern.html#netDxf_Entities_HatchPattern_Clone">HatchPattern.Clone()</a></div>
  <h3 id="implements">Implements</h3>
  <div>
      <span class="xref">System.ICloneable</span>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Entities_HatchGradientPattern.md&amp;value=---%0Auid%3A%20netDxf.Entities.HatchGradientPattern%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Entities/HatchGradientPattern.cs/#L33" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
